import './App.scss';

//rcc 生成类组件
//rsf 生成函数式组件

import React, { Component } from 'react';

//导入组件
import MyHeader from './components/MyHeader'
import MyEntry from './components/MyEntry'
import MySwipe from './components/MySwipe';
import MySecKill from './components/MySecKill';
import MyTabbar from './components/MyTabbar';

class App extends Component {
  render() {
    return (
      <div className='app'>
        {/* 输入框组件 */}
        <MyHeader />
        <div className="main">
          {/* 轮播图组件 */}
          <MySwipe />
          {/* 列表组件 */}
          <MyEntry />
          {/* 列表组件 */}
          <MySecKill />
        </div>
        {/* 列表组件 */}
        <MyTabbar />

      </div>
    );
  }
}

export default App;